package me.zhengjie.modules.service.impl.intell;

import lombok.RequiredArgsConstructor;
import me.zhengjie.modules.domain.intellectual.Software;
import me.zhengjie.modules.repository.intellectual.EnterIntSoftwareMapper;
import me.zhengjie.modules.service.intell.SoftwareService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("SoftwareService")
@RequiredArgsConstructor
public class SoftwareServiceImpl implements SoftwareService {

    private final EnterIntSoftwareMapper enterIntSoftwareMapper;

    @Override
    public List<Software> querySoftwareByName(String name) {
        return enterIntSoftwareMapper.selectSoftwareByName(name);
    }
}
